﻿using mozhi.smarterp.Finance.Basedatas;
using mozhi.smarterp.Finance.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace mozhi.smarterp.Finance.Reports
{
    public class AccountBalanceReportDto
    {
        public Guid? Id { get; set; }
        /// <summary>
        /// 期间
        /// </summary>
        public int Period { set; get; }

        public Guid AccountId { get; set; }

        public Guid? ParentId { set; get; }

        public bool? IsLeaf { set; get; }

        public AccountDirectionType Direction {  set; get; }

        /// <summary>
        /// 币别
        /// </summary>
        public Guid? CurrencyId { set; get; }

        /// <summary>
        /// 币别代码
        /// </summary>
        public string CurrencyCode { set; get; }


        public Guid? DimensionGroupValueId { set; get; }

        public List<DimensionGroupValueItemDto> DimensionGroupValueItems { set; get; }


        public string AccountCode { set; get; }

        public string AccountName { set; get; }

        public decimal? OpeningAmount { set; get; }

        public decimal? OpeningAmountFr { set; get; }

        /// <summary>
        /// 本期借方发生额
        /// </summary>
        public decimal? DebitAmount { set; get; }

        /// <summary>
        /// 本期借方发生额原币
        /// </summary>
        public decimal? DebitAmountFr { set; get; }

        /// <summary>
        /// 本期贷方发生额
        /// </summary>
        public decimal? CreditAmount { set; get; }

        /// <summary>
        /// 本期贷方发生额原币
        /// </summary>
        public decimal? CreditAmountFr { set; get; }

        /// <summary>
        /// 本年累计借方发生额
        /// </summary>
        public decimal? CurrentYearDebitAmount { set; get; }

        /// <summary>
        /// 本年累计借方发生额原币
        /// </summary>
        public decimal? CurrentYearDebitAmountFr { set; get; }

        /// <summary>
        /// 本年累计贷方发生额
        /// </summary>
        public decimal? CurrentYearCreditAmount { set; get; }

        /// <summary>
        /// 本年累计贷方发生额原币
        /// </summary>
        public decimal? CurrentYearCreditAmountFr { set; get; }

        /// <summary>
        /// 期末余额
        /// </summary>
        public decimal? ClosingAmount { set; get; }

        /// <summary>
        /// 期末余额原币
        /// </summary>
        public decimal? ClosingAmountFr { set; get; }
    }
}
